package main

import "fmt"

type Person struct {
	id, age     int
	name, email string
}

func main() {
	//键值对初始化
	kite := Person{
		id:    1,
		age:   12,
		name:  "毛毛",
		email: "123456@qq.com",
	}
	fmt.Println(kite)

	//列表初始化
	gite := Person{1, 12, "tom", "123456@qq.com"}
	fmt.Println(gite)

	//成员部分初始化
	jite := Person{
		id:  1,
		age: 12,
	}
	fmt.Println(jite)
}
